package com.xxx.gaoxi.user.mapper;

import com.xxx.gaoxi.common.service.facade.entity.UserEntity;
import org.springframework.stereotype.Repository;

/**
 * Description
 * ...
 * DATE 2018/4/2.
 *
 * @author Mr. Chun.
 */
@Repository
public interface UserMapper {

//    @Select("SELECT id,nick_name,age FROM user WHERE nick_name = #{userName} AND password = #{password} ORDER BY id DESC LIMIT 1")
//    @Results({
//            @Result(property = "nickName", column = "nick_name")
//    })
//    UserEntity getUserByUserNameAndPassword(@Param("userName") String userName, @Param("password") String password);

}
